using MediatR;

namespace TerritoryGame.Application.Commands;

public record DeleteRoomCommand : IRequest<DeleteRoomResult>
{
    public Guid RoomId { get; init; }
    public string? RoomCode { get; init; }
}

public record DeleteRoomResult
{
    public bool Success { get; init; }
    public string? ErrorMessage { get; init; }
}
